Integrand size = 16, antiderivative size = 53 \[ \int x \sqrt {a+a \cosh (c+d x)} \, dx=-\frac {4 \sqrt {a+a \cosh (c+d x)}}{d^2}+\frac {2 x \sqrt {a+a \cosh (c+d x)} \tanh \left (\frac {c}{2}+\frac {d x}{2}\right )}{d} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 53, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {3400, 3377, 2718} \[ \int x \sqrt {a+a \cosh (c+d x)} \, dx=\frac {2 x \tanh \left (\frac {c}{2}+\frac {d x}{2}\right ) \sqrt {a \cosh (c+d x)+a}}{d}-\frac {4 \sqrt {a \cosh (c+d x)+a}}{d^2} \]
[In]
[Out]
Rule 2718
Rule 3377
Rule 3400
Rubi steps \begin{align*} \text {integral}& = \left (\sqrt {a+a \cosh (c+d x)} \csc \left (\frac {1}{2} \left (i c+\frac {\pi }{2}\right )+\frac {\pi }{4}+\frac {i d x}{2}\right )\right ) \int x \sin \left (\frac {1}{2} \left (i c+\frac {\pi }{2}\right )+\frac {\pi }{4}+\frac {i d x}{2}\right ) \, dx \\ & = \frac {2 x \sqrt {a+a \cosh (c+d x)} \tanh \left (\frac {c}{2}+\frac {d x}{2}\right )}{d}-\frac {\left (2 \sqrt {a+a \cosh (c+d x)} \csc \left (\frac {1}{2} \left (i c+\frac {\pi }{2}\right )+\frac {\pi }{4}+\frac {i d x}{2}\right )\right ) \int \sinh \left (\frac {c}{2}+\frac {d x}{2}\right ) \, dx}{d} \\ & = -\frac {4 \sqrt {a+a \cosh (c+d x)}}{d^2}+\frac {2 x \sqrt {a+a \cosh (c+d x)} \tanh \left (\frac {c}{2}+\frac {d x}{2}\right )}{d} \\ \end{align*}
Time = 0.25 (sec) , antiderivative size = 34, normalized size of antiderivative = 0.64 \[ \int x \sqrt {a+a \cosh (c+d x)} \, dx=\frac {2 \sqrt {a (1+\cosh (c+d x))} \left (-2+d x \tanh \left (\frac {1}{2} (c+d x)\right )\right )}{d^2} \]
[In]
[Out]
Time = 0.05 (sec) , antiderivative size = 64, normalized size of antiderivative = 1.21
method | result | size |
risch | \(\frac {\sqrt {2}\, \sqrt {a \left ({\mathrm e}^{d x +c}+1\right )^{2} {\mathrm e}^{-d x -c}}\, \left (d x \,{\mathrm e}^{d x +c}-d x -2 \,{\mathrm e}^{d x +c}-2\right )}{\left ({\mathrm e}^{d x +c}+1\right ) d^{2}}\) | \(64\) |
[In]
[Out]
Exception generated. \[ \int x \sqrt {a+a \cosh (c+d x)} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
\[ \int x \sqrt {a+a \cosh (c+d x)} \, dx=\int x \sqrt {a \left (\cosh {\left (c + d x \right )} + 1\right )}\, dx \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 60, normalized size of antiderivative = 1.13 \[ \int x \sqrt {a+a \cosh (c+d x)} \, dx=-\frac {{\left (\sqrt {2} \sqrt {a} d x - {\left (\sqrt {2} \sqrt {a} d x e^{c} - 2 \, \sqrt {2} \sqrt {a} e^{c}\right )} e^{\left (d x\right )} + 2 \, \sqrt {2} \sqrt {a}\right )} e^{\left (-\frac {1}{2} \, d x - \frac {1}{2} \, c\right )}}{d^{2}} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 67, normalized size of antiderivative = 1.26 \[ \int x \sqrt {a+a \cosh (c+d x)} \, dx=\frac {\sqrt {2} {\left (\sqrt {a} d x e^{\left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )} - \sqrt {a} d x e^{\left (-\frac {1}{2} \, d x - \frac {1}{2} \, c\right )} - 2 \, \sqrt {a} e^{\left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )} - 2 \, \sqrt {a} e^{\left (-\frac {1}{2} \, d x - \frac {1}{2} \, c\right )}\right )}}{d^{2}} \]
[In]
[Out]
Time = 1.81 (sec) , antiderivative size = 56, normalized size of antiderivative = 1.06 \[ \int x \sqrt {a+a \cosh (c+d x)} \, dx=\frac {2\,x\,\mathrm {sinh}\left (\frac {c}{2}+\frac {d\,x}{2}\right )\,\sqrt {a+a\,\mathrm {cosh}\left (c+d\,x\right )}}{d\,\mathrm {cosh}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}-\frac {4\,\sqrt {a+a\,\mathrm {cosh}\left (c+d\,x\right )}}{d^2} \]
[In]
[Out]